package _designPatterm.单例模式.枚举;

public class SingletonTest08 {
    public static void main(String[] args) {
        Singleton instance = Singleton.INSTANCE;
        Singleton instance1 = Singleton.INSTANCE;
        System.out.println(instance == instance1);
    }

}

enum Singleton {
    INSTANCE

}
